Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of WUDAPT (31-41) landuse classes along with standard urban classes (31-33) #1419

Merged
merged 7 commits into from
Mar 3, 2021

Conversation

davegill
Copy link
Contributor

@davegill davegill commented Feb 26, 2021

TYPE: new feature

KEYWORDS: urban, local climate zone,

SOURCE: Developer: Andrea Zonato (University of Trento, Italy, [email protected])

DESCRIPTION OF CHANGES:
This update includes the extension of urban classes from 3 (31-33) to 11 WUDAPT Local Climate zones (31-41). See Stewart and Oke, 2012 for further details

Briefly, a new urban parameter table (URBPARAM_LCZ.TBL) has been added for using the new LCZ urban category. The new LCZ definition has LU_INDEX=LCZ+30. If a user still wants to keep using the traditional 33 classes (31st-33rd for urban), please specify the namelist option "use_wudapt_lcz = 0". If a user wants to use the new LCZ, please specify the namelist option "use_wudapt_lcz = 1". If the number of urban category in the input files is inconsistent with the namelist option, error messages will occur. Only the LCZ modeling capability is provided here, not the dataset which is the responsibility of users. The method to create the LCZ data is described in the World Urban Database website: http://www.wudapt.org/

LIST OF MODIFIED FILES:
M Registry/Registry.EM_COMMON
M Registry/Registry.NMM
M main/depend.common
M dyn_em/module_initialize_real.F
M main/depend.common
M phys/Makefile
A phys/module_bep_bem_helper.F
M phys/module_physics_init.F
M phys/module_sf_bep.F
M phys/module_sf_bep_bem.F
M phys/module_sf_clm.F
M phys/module_sf_noahdrv.F
M phys/module_sf_noahlsm.F
M phys/module_sf_noahmpdrv.F
M phys/module_sf_noahmplsm.F
M phys/module_sf_urban.F
M phys/module_surface_driver.F
M run/LANDUSE.TBL
M run/MPTABLE.TBL
M run/URBPARM.TBL
A run/URBPARM_LCZ.TBL
M run/VEGPARM.TBL
A share/module_check_a_mundo.F

TESTS CONDUCTED:

  1. Jenkins testing OK

RELEASE NOTE:
Stewart, I.D. and Oke, T.R. (2012) Local Climate Zones for Urban Temperature Studies. Bulletin of the American Meteorological Society, 93, 1879-1900.
http://dx.doi.org/10.1175/BAMS-D-11-00019.1

Andrea Zonato and others added 7 commits February 22, 2021 04:27
origin = andreazonato
On branch LCZ_WUDAPT_WRF
Your branch is up to date with 'origin/LCZ_WUDAPT_WRF'.

Changes to be committed:
	modified:   main/depend.common
	new file:   phys/module_bep_bem_helper.F
	modified:   phys/module_sf_bep.F
	modified:   phys/module_sf_bep_bem.F
	modified:   share/module_check_a_mundo.F
modified:   phys/Makefile
modified:   phys/module_sf_bep.F
modified:   phys/module_sf_bep_bem.F
@davegill davegill requested review from a team as code owners February 26, 2021 20:16
@andreazonato
Copy link
Contributor

andreazonato commented Feb 26, 2021 via email

@davegill
Copy link
Contributor Author

@andreazonato @cenlinhe @weiwangncar @dudhia
This is a proposed replacement for #1411
This PR does not have the problem of incorrect urban classes based on the use_wudapt_lcz settings, and does not have the resultant slow down for the first time step.

@davegill
Copy link
Contributor Author

jenkins:

Please find result of the WRF regression test cases in the attachment. This build is for Commit ID: 01a591bbc0b7068716a693285739d2fe6cdd68a5, requested by: davegill for PR: https://github.com/wrf-model/WRF/pull/1419. For any query please send e-mail to David Gill.

    Test Type              | Expected  | Received |  Failed
    = = = = = = = = = = = = = = = = = = = = = = = =  = = = =
    Number of Tests        : 19           18
    Number of Builds       : 48           46
    Number of Simulations  : 163           161        0
    Number of Comparisons  : 103           102        0

    Failed Simulations are: 
    None
    Which comparisons are not bit-for-bit: 
    None

@davegill
Copy link
Contributor Author

@andreazonato @cenlinhe @dudhia @weiwangncar
Who would be able to test this PR to see if it actually does the urban classes correctly?

@cenlinhe
Copy link
Contributor

@davegill Thanks! I just took a look at your modification in this PR and it looks good to me. I will try to download this PR code and do a quick test to see if the results look reasonable.

@davegill
Copy link
Contributor Author

@cenlinhe

I will try to download this PR code and do a quick test to see if the results look reasonable.

Thanks!

@andreazonato
Copy link
Contributor

andreazonato commented Feb 26, 2021 via email

@davegill
Copy link
Contributor Author

@andreazonato
Absolutely no one gets a PR accepted without modifications. No one.

One of the benefits of an open development repository is that everyone can make suggestions to the source code.

That is also the biggest problem with open development. :)

We very much appreciate your scientific modifications to the code, and hope that you continue to be an active WRF model contributor.

@cenlinhe
Copy link
Contributor

@davegill @andreazonato I just ran a few tests by using BEP and BEP_BEM scheme with Dave's new updates and it seems that the results are looking reasonable. Here are they: /glade/scratch/cenlinhe/WRF_noahmp_test/WRF_LCZ_test_1419/run/urban2/ and /glade/scratch/cenlinhe/WRF_noahmp_test/WRF_LCZ_test_1419/run/urban3/
I think the LCZ code is ready.

Copy link
Collaborator

@dudhia dudhia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

large number of changes, but tested by LSM group

@davegill davegill merged commit c2f9b99 into wrf-model:develop Mar 3, 2021
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
…urban classes (31-33) (wrf-model#1419)

TYPE: new feature

KEYWORDS: urban, local climate zone, 

SOURCE: Developer: Andrea Zonato (University of Trento, Italy, [email protected])

DESCRIPTION OF CHANGES:
This update includes the  extension of urban classes from 3 (31-33) to 11 WUDAPT Local Climate zones (31-41). 
See Stewart and Oke, 2012 for further details

Briefly, a new urban parameter table (URBPARAM_LCZ.TBL) has been added for using the new LCZ urban category. 
The new LCZ definition has LU_INDEX=LCZ+30. If a user still wants to keep using the traditional 33 classes 
(31st-33rd for urban), please specify the namelist option "use_wudapt_lcz = 0". If a user wants to use the new LCZ, 
please specify the namelist option "use_wudapt_lcz = 1". If the number of urban category in the input files is 
inconsistent with the namelist option, error messages will occur. Only the LCZ modeling capability is provided here, 
not the dataset which is the responsibility of users. The method to create the LCZ data is described in the World 
Urban Database website: http://www.wudapt.org/

LIST OF MODIFIED FILES:
M Registry/Registry.EM_COMMON
M Registry/Registry.NMM
M main/depend.common
M dyn_em/module_initialize_real.F
M main/depend.common
M phys/Makefile
A phys/module_bep_bem_helper.F
M phys/module_physics_init.F
M phys/module_sf_bep.F
M phys/module_sf_bep_bem.F
M phys/module_sf_clm.F
M phys/module_sf_noahdrv.F
M phys/module_sf_noahlsm.F
M phys/module_sf_noahmpdrv.F
M phys/module_sf_noahmplsm.F
M phys/module_sf_urban.F
M phys/module_surface_driver.F
M run/LANDUSE.TBL
M run/MPTABLE.TBL
M run/URBPARM.TBL
A run/URBPARM_LCZ.TBL
M run/VEGPARM.TBL
A share/module_check_a_mundo.F

TESTS CONDUCTED:
1. Jenkins testing OK

RELEASE NOTE: 
Stewart, I.D. and Oke, T.R. (2012) Local Climate Zones for Urban Temperature Studies. Bulletin of the American Meteorological Society, 93, 1879-1900.
http://dx.doi.org/10.1175/BAMS-D-11-00019.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants